html {
    
  background: url("/background/dr-stars.gif");
    background-repeat: repeat;
    background-attachment: fixed;
  background-position: 0 0;
 animation: Bg 900s linear infinite;
  color: #7d79b5;
  overflow-y:hidden
}

a {
    color:white;
    transition:0.4s; /*makes the link change smoother when hovered on*/
}

a:hover {
    color:antiquewhite;
    transition:0.4s; /*makes the link change smoother when hovered on*/
}

/*research CSS grids for info on display:grid*/
.container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4px;
    grid-template-areas: "bookshelf sidebar";
    color: white;
}

.bookshelf {
    grid-area: bookshelf;
    background: #6e260e;
    border: 4px solid black;
    width: 615px;
    height: 550px;
    padding: 16px;
    margin: 11px;
    overflow-y: auto;
}

.shelf {
    background: #360f02;
    border: 4px solid black;
    margin: 24px 0;
    padding-top: 16px;
}

.book {
    display: inline-block; /*IMPORTANT! makes the books appear next to eachother rather than stacked*/
}

.book img {
    height: 240px;
    cursor: pointer;
}

.book:hover {
    transform: rotate(4deg) scale(1.1);
    transition: 0.6s; /*makes the books move smoother when hovered on*/
}

.accent {
    background: #eaddca;
    color:black;
    padding: 8px;
}

.sidebar {
    grid-area: sidebar;
    background: #6e260e;
    border: 4px solid black;
    width: 500px;
    height:550px;
    margin:16px 0;
    padding:16px;
    overflow-y: auto;
}

@keyframes Bg {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 10000px 10000px;
    }
    